package com.book.dao;

import com.book.domain.Book;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BookDao {
    int save(Book book);
    int delete(Book book);
    int update(Book book);
    List<Book> findAll();
    PageInfo findAll(int page, int size);
    Book findById(String id);
}
